package com.halflife.comeElectricity.orderMng.order.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.halflife.comeElectricity.basic.goodsType.GoodsType;
import com.halflife.comeElectricity.orderMng.order.CustomSerialize;

import java.math.BigDecimal;

/**
 * Created by zhaoyf on 2018/2/13.
 */
public class OrderVO {
    public Long startTime ;
    public GoodsType goodsType;
    private Integer id;
    //private SiteDTO startPlace;//起步地
    //private List<SiteDTO> destination;//目的地
    @JsonSerialize(using= CustomSerialize.class)
    private String startPlace;//起步地
    @JsonSerialize(using= CustomSerialize.class)
    private String destination;//目的地
    private String extractService;//额外服务
    private String toDriver;//给司机捎话
    private BigDecimal amount;//总额
    private BigDecimal totalAmount;//总额
    private BigDecimal fee;//小费
    private BigDecimal distance;//距离
    private String riderName;//骑手姓名
    private String riderPhone;//骑手手机号码
    private Byte status;//状态//已取消 -1, 等待接单 0, 已接单 1, 已出发 2,已完成 3
    private Integer merchantId;//商户Id
    private String merchartName;//商户名称
    private String merchantPhone;//商户名称
    private BigDecimal riderAmount;//报价
    private BigDecimal commition;//佣金
    private BigDecimal perPrice;//单价
    private BigDecimal startingPrice;//起步价
    private BigDecimal startingDistance;//起步距离
    private Long rideTime;//骑手接单时间
    private Long endTime;//结束时间
    private Long startOffTime;//出发时间
    private Byte score;//分数
    private String adminMemo;
    private Byte grabStatus;
    private Integer riderId;

    public Integer getRiderId() {
        return riderId;
    }

    public void setRiderId(Integer riderId) {
        this.riderId = riderId;
    }

    public Byte getGrabStatus() {
        return grabStatus;
    }

    public void setGrabStatus(Byte grabStatus) {
        this.grabStatus = grabStatus;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getMerchantPhone() {
        return merchantPhone;
    }

    public void setMerchantPhone(String merchantPhone) {
        this.merchantPhone = merchantPhone;
    }

    public Long getStartTime() {
        return startTime;
    }

    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    public GoodsType getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(GoodsType goodsType) {
        this.goodsType = goodsType;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStartPlace() {
        return startPlace;
    }

    public void setStartPlace(String startPlace) {
        this.startPlace = startPlace;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public String getExtractService() {
        return extractService;
    }

    public void setExtractService(String extractService) {
        this.extractService = extractService;
    }

    public String getToDriver() {
        return toDriver;
    }

    public void setToDriver(String toDriver) {
        this.toDriver = toDriver;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getFee() {
        return fee;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    public BigDecimal getDistance() {
        return distance;
    }

    public void setDistance(BigDecimal distance) {
        this.distance = distance;
    }
    //    private String

    public String getRiderName() {
        return riderName;
    }

    public void setRiderName(String riderName) {
        this.riderName = riderName;
    }

    public String getRiderPhone() {
        return riderPhone;
    }

    public void setRiderPhone(String riderPhone) {
        this.riderPhone = riderPhone;
    }

    public Byte getStatus() {
        return status;
    }

    public void setStatus(Byte status) {
        this.status = status;
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchartName() {
        return merchartName;
    }

    public void setMerchartName(String merchartName) {
        this.merchartName = merchartName;
    }

    public BigDecimal getRiderAmount() {
        return riderAmount;
    }

    public void setRiderAmount(BigDecimal riderAmount) {
        this.riderAmount = riderAmount;
    }

    public BigDecimal getCommition() {
        return commition;
    }

    public void setCommition(BigDecimal commition) {
        this.commition = commition;
    }

    public BigDecimal getPerPrice() {
        return perPrice;
    }

    public void setPerPrice(BigDecimal perPrice) {
        this.perPrice = perPrice;
    }

    public BigDecimal getStartingPrice() {
        return startingPrice;
    }

    public void setStartingPrice(BigDecimal startingPrice) {
        this.startingPrice = startingPrice;
    }

    public BigDecimal getStartingDistance() {
        return startingDistance;
    }

    public void setStartingDistance(BigDecimal startingDistance) {
        this.startingDistance = startingDistance;
    }

    public Long getRideTime() {
        return rideTime;
    }

    public void setRideTime(Long rideTime) {
        this.rideTime = rideTime;
    }

    public Long getEndTime() {
        return endTime;
    }

    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    public Long getStartOffTime() {
        return startOffTime;
    }

    public void setStartOffTime(Long startOffTime) {
        this.startOffTime = startOffTime;
    }

    public Byte getScore() {
        return score;
    }

    public void setScore(Byte score) {
        this.score = score;
    }

    public String getAdminMemo() {
        return adminMemo;
    }

    public void setAdminMemo(String adminMemo) {
        this.adminMemo = adminMemo;
    }
}
